import http from '@/utils/http'
// 查询列表
export async function getListApi(parm) {
  return await http.get('/api/userComplaint/list', parm)
}
// 新增投诉
export async function addApi(parm) {
  return await http.post('/api/userComplaint', parm)
}
// 编辑投诉
export async function editApi(parm) {
  return await http.put('/api/userComplaint', parm)
}
// 删除投诉
export async function deleteApi(parm) {
  return await http.delete('/api/userComplaint', parm)
}
// 我的投诉查询列表
export async function getMyListApi(parm) {
  return await http.get('/api/userComplaint/myList', parm)
}
